
package com.app.hmst.dto;

import java.util.ArrayList;
import java.util.List;

import org.codehaus.jackson.annotate.JsonIgnore;
import org.codehaus.jackson.annotate.JsonProperty;

public class HomestayDto{
	@JsonProperty("id")
	private String id;
	@JsonProperty("name")
	private String name;
	@JsonProperty("province")
	private String province;
	@JsonProperty("district")
	private String district;
	@JsonProperty("tumbol")
	private String tumbol;
	@JsonProperty("address")
	private String address;
	@JsonProperty("tel")
	private String tel;
	@JsonProperty("mobile")
	private String mobile;
	@JsonProperty("fax")
	private String fax;
	@JsonProperty("email")
	private String email;
	@JsonProperty("website")
	private String website;
	@JsonProperty("contact_name")
	private String contactName;
	@JsonProperty("sumCode")
	private String sumCode;
	@JsonProperty("status")
	private String status;
	@JsonProperty("House")
	private List<HouseDto> house = new ArrayList<HouseDto>();

	@JsonProperty("id")
	public String getId() {
	return id;
	}

	@JsonProperty("id")
	public void setId(String id) {
	this.id = id;
	}

	public HomestayDto withId(String id) {
	this.id = id;
	return this;
	}

	@JsonProperty("name")
	public String getName() {
	return name;
	}

	@JsonProperty("name")
	public void setName(String name) {
	this.name = name;
	}

	public HomestayDto withName(String name) {
	this.name = name;
	return this;
	}

	@JsonProperty("province")
	public String getProvince() {
	return province;
	}

	@JsonProperty("province")
	public void setProvince(String province) {
	this.province = province;
	}

	public HomestayDto withProvince(String province) {
	this.province = province;
	return this;
	}

	@JsonProperty("district")
	public String getDistrict() {
	return district;
	}

	@JsonProperty("district")
	public void setDistrict(String district) {
	this.district = district;
	}

	public HomestayDto withDistrict(String district) {
	this.district = district;
	return this;
	}

	@JsonProperty("tumbol")
	public String getTumbol() {
	return tumbol;
	}

	@JsonProperty("tumbol")
	public void setTumbol(String tumbol) {
	this.tumbol = tumbol;
	}

	public HomestayDto withTumbol(String tumbol) {
	this.tumbol = tumbol;
	return this;
	}

	@JsonProperty("address")
	public String getAddress() {
	return address;
	}

	@JsonProperty("address")
	public void setAddress(String address) {
	this.address = address;
	}

	public HomestayDto withAddress(String address) {
	this.address = address;
	return this;
	}

	@JsonProperty("tel")
	public String getTel() {
	return tel;
	}

	@JsonProperty("tel")
	public void setTel(String tel) {
	this.tel = tel;
	}

	public HomestayDto withTel(String tel) {
	this.tel = tel;
	return this;
	}

	@JsonProperty("mobile")
	public String getMobile() {
	return mobile;
	}

	@JsonProperty("mobile")
	public void setMobile(String mobile) {
	this.mobile = mobile;
	}

	public HomestayDto withMobile(String mobile) {
	this.mobile = mobile;
	return this;
	}

	@JsonProperty("fax")
	public String getFax() {
	return fax;
	}

	@JsonProperty("fax")
	public void setFax(String fax) {
	this.fax = fax;
	}

	public HomestayDto withFax(String fax) {
	this.fax = fax;
	return this;
	}

	@JsonProperty("email")
	public String getEmail() {
	return email;
	}

	@JsonProperty("email")
	public void setEmail(String email) {
	this.email = email;
	}

	public HomestayDto withEmail(String email) {
	this.email = email;
	return this;
	}

	@JsonProperty("website")
	public String getWebsite() {
	return website;
	}

	@JsonProperty("website")
	public void setWebsite(String website) {
	this.website = website;
	}

	public HomestayDto withWebsite(String website) {
	this.website = website;
	return this;
	}

	@JsonProperty("contact_name")
	public String getContactName() {
	return contactName;
	}

	@JsonProperty("contact_name")
	public void setContactName(String contactName) {
	this.contactName = contactName;
	}

	public HomestayDto withContactName(String contactName) {
	this.contactName = contactName;
	return this;
	}

	@JsonProperty("sumCode")
	public String getSumCode() {
	return sumCode;
	}

	@JsonProperty("sumCode")
	public void setSumCode(String sumCode) {
	this.sumCode = sumCode;
	}

	public HomestayDto withSumCode(String sumCode) {
	this.sumCode = sumCode;
	return this;
	}

	@JsonProperty("status")
	public String getStatus() {
	return status;
	}

	@JsonProperty("status")
	public void setStatus(String status) {
	this.status = status;
	}

	public HomestayDto withStatus(String status) {
	this.status = status;
	return this;
	}

	@JsonProperty("House")
	public List<HouseDto> getHouse() {
	return house;
	}

	@JsonProperty("House")
	public void setHouse(List<HouseDto> house) {
	this.house = house;
	}

	public HomestayDto withHouse(List<HouseDto> house) {
	this.house = house;
	return this;
	}

	
	
	
}
